home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 4 / ETO Development Tools 4.iso / Tools - Objects / MPW C++ / MPW C++ PQR4 / Install < prev    next >
Text File  |  1991-04-30  |  1KB  |  55 lines

  1. # Install MPW C++ from diskettes.  If you're installing from a file server
  2. # just use
  3. #
  4. #    Backup -from "{WhereCPlusPlusFilesAre}" -to "{MPW}" -r -a -c
  5. #
  6. # or whatever.
  7. #
  8.  
  9. # Do this in case there is something in drive 1
  10. Set exit 0
  11. Eject 1
  12. Set exit 1
  13.  
  14. Set Temp "{MPW}"CPlusInstallTemp
  15.  
  16.  
  17. # Get stuff from disks
  18. For Disk In 'MPW C++ Disk1:' 'MPW C++ Disk2:'
  19.  
  20.     Confirm "Please insert {Disk} and click when ready."
  21.     
  22.     Set exit 0
  23.     
  24.     Backup -from "{Disk}" -to "{MPW}" -r -a -c > "{Temp}"
  25.     
  26.     If {Status} == 3
  27.         Set exit 1
  28.         Echo "Warning:  no files copied from {Disk}"
  29.     Else If {Status} == 0
  30.         Set exit 1
  31.         "{Temp}"
  32.     Else
  33.         Exit {Status}
  34.     End
  35.     
  36.     Eject "{Disk}"
  37.  
  38. End
  39.  
  40.  
  41. # Clean up
  42. Delete -y "{Temp}"
  43.  
  44. Echo '# If you are not already using MPW 3.2b1 (or later), you will need'
  45. Echo '# to use the 3.2b1 C compiler if you want C++ load/dump to work'
  46. Echo '# properly.  In order to install it, execute the following commands:'
  47.  
  48. Echo
  49. Echo '    NewFolder "{MPW}Tools:OldCCompiler:"'
  50. Echo '    Move "{MPW}"Tools:C "{MPW}"Tools:OldCCompiler:'
  51. Echo '    Move "{MPW}"Tools:C3.2b1:C "{MPW}"Tools:'
  52. Echo
  53.  
  54. Echo "Done."
  55.